﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace BasicModuleWebApiJWTAuthorization.Controllers
{
    public class HomeController : Controller
    {
        public IAuthorizationService _authorizationService { get; set; }

        public HomeController(IAuthorizationService authorizationService)
        {
            this._authorizationService = authorizationService;
        }
        public IActionResult Index()
        {
            return View(_authorizationService);
        }
    }
}
